﻿<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<title>{$seo_title} {$site_name}</title>
		<meta name="keywords" content="{$seo_keywords}" />
		<meta name="description" content="{$seo_description}">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<tc_include file="Public:head" />
	</head>

	<body>

		<tc_include file="Public:nav" />
		<tc_include file="Public:banner" />
		<br />
		<div class="container pajax">
			<div class="">
				<ul class="bread">
					<h4>
					{:get_bread_nav('Portal/List/index',$cat_id)}
					</h4>
				</ul>
			</div>
			<php>
				$tag="cid:3,4,7;order:post_date desc"; $content=sp_sql_posts_paged($tag,5); $posts=$content['posts']; $pager=$content['page'];
			</php>
			<div class="line-big">
				<div class="xl12 xm8">
					<div class="line-small">
						<div class="xs12">
							<foreach name="posts" item="vo">
								<php>
									$smeta=json_decode($vo['smeta'],true); $term=sp_get_term($vo['term_id'] );

								</php>

								<div class="clearfix articlebox">
									<div class="detail_a">
										<span class="tag bg-dot">
											<empty name="vo['post_source']">原 创</empty>
											<notempty name="vo['post_source']">转 载</notempty>
										</span>&nbsp;&nbsp;
										<a href="{:leuu('article/index',array('id'=>$vo['tid']))}" style="font-size: 16px;" target="_blank">{$vo.post_title}</a>
										<div class="a_tuijian">
											<eq name="vo['recommended']" value="1"><img src="__TMPL__Public/images/tuijian.gif" style="width:70px" /></eq>
										</div>
									</div>
									<div class="article">
										<a href="{:leuu('article/index',array('id'=>$vo['tid']))}" target="_blank">
											<img src="{:sp_get_asset_upload_path($smeta['thumb'])}" class="img" title="{$vo.post_title}" width="250px" height="200px" />

										</a>
										<div class="remark">
											{$vo.post_excerpt }
										</div>
									</div>
									<div class="write">
										<span class="icon-paper-plane"></span>&nbsp;{:date('Y年m月d日',strtotime($vo['post_date']))}&nbsp;&nbsp;作者：{$v.user_nicename}&nbsp;&nbsp;分类：[&nbsp;{$term['name']}&nbsp;]<span class="hidden-xs">&nbsp;&nbsp;点击：[&nbsp;{$vo.post_hits}&nbsp;]</span>
									</div>
									<div class="look-all">
										<a href="{:leuu('article/index',array('id'=>$vo['tid']))}" class="button border-blue" role="button" target="_blank">查看全部</a>
									</div>
								</div>
								<br />
								<br />
							</foreach>

						</div>
						<hr />
					</div>
					<div class="pagination  pagination-group">
						{$pager}
					</div>
					<br />
					<br />
					<br />
				</div>
				<tc_include file="Public:slide" />
			</div>
		</div>
		<tc_include file="Public:footer" />

	</body>

</html>